package com.woniuxy.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("接收前端参数和后端生成参数，方便添加购物车")
public class AddCartForm {
    @ApiModelProperty("商家ID")
    private Long storeId;
    @ApiModelProperty("商品价格")
    private Double foodPrice;
    @ApiModelProperty("商品名称")
    private String foodName;
    @ApiModelProperty("餐厅名称")
    private String storeName;
    @ApiModelProperty("商品数量")
    private Integer num;
    @ApiModelProperty("商品小计")
    private Double price;
    @ApiModelProperty("配送费(后端获取)")
    private Double dphPrice;
    @ApiModelProperty("打包费(后端获取)")
    private Double packingPrice;
    @ApiModelProperty("消费者id(后端获取)")
    private Long customerId;
}
